package com.heima.wemedia;


import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.Arrays;


public class timeFormat {


    public static void main(String[] args) {
        String endDate = "2023-07-25";
        //时间进行处理 (2023-07-25 2023-07-25)


        String afterTime=endDate.substring(0, endDate.lastIndexOf("-")+1)+(Integer.parseInt(endDate.substring(endDate.lastIndexOf("-")+1)) + 1);

        System.out.println(afterTime);

    }
}
